{include file="common/header" /}

	<!-- 面包屑 开始 -->
	<section class="crumbs">
		<div class="container">
    		<div class="row">
    			<div class="crumbs-box">
    				<a href="/frontend/index/index" class="crumbs-box-a">首页</a>&nbsp;
    				<span> > </span>&nbsp;
    				<span>新闻资讯</span>
    			</div>
    		</div>
    	</div>
	</section>
	<!-- 面包屑 结束 -->

	<!-- 新闻列表 开始 -->
	<section class="news-list">
		<div class="container">
    		<div class="row">
    			<div class="news-top-title">
					<h3 class="header-title">新闻资讯</h3>
					<div class="header-subtitle"></div>
				</div>
    			<div class="col-md-9">
    				<div style="margin-bottom: 10px;">
						<?php $list = $cases->toArray();?>
						{foreach $list['data'] as $key=>$vo }
	    				<article class="entry-post">
	    					<div class="entry-header">
	    						<h2 class="entry-title">
	    							<a href="/frontend/news/details?id={$vo.id}" title="{$vo.title}">{$vo.title}</a>
	    						</h2>
	    						<div class="meta-line clearfix">
	    							<div class="meta-author-category pull-left">
	    								<span class="post-author">
	    									作者： <a href="#">{$vo.author}</a>
	    								</span>
	    							</div>
	    						</div>
	    					</div>
	    					<div class="entry-content clearfix">
	    						<div class="row">
		    						<div class="col-sm-5">
		    							<figure class="featured-image">
		    								<a href="/frontend/news/details?id={$vo.id}">
		    									<div class="post-date-info clearfix">
		    										<span class="post-month"><?php echo date('M', strtotime($vo['updated_at'])); ?></span>
		    										<span class="post-date"><?php echo date('d', strtotime($vo['updated_at'])); ?></span>
		    										<span class="post-year"><?php echo date('Y', strtotime($vo['updated_at'])); ?></span>
		    									</div>
		    									<img src="{$vo.imagies}" class="img-responsive" width="100%" style="height: 190px;">
		    								</a>
		    							</figure>
		    						</div>
		    						<div class="col-sm-7">
		    							<div class="excerpt">
		    								<p><?php echo slice_img($vo['content']); ?></p>
											<p class="read-more">
		    									<a href="/frontend/news/details?id={$vo.id}" class="btn btn-primary">
		    										阅读更多 <i class="fa fa-long-arrow-right"></i>
		    									</a>
		    								</p>
		    							</div>
		    						</div>
	    						</div>
	    					</div>
	    				</article>
	    				<hr>
						{/foreach}
	    			</div>
	    			<!-- bootstrap分页 开始 -->
	    			<ul class="pager">
						<ul class="pager">
							{if condition="$list['current_page'] != 1"}
							<li class="previous"><a href="/frontend/news/index?page={$list.current_page-1}">&larr; 上一页</a></li>
							{/if}
							{if condition="$list['last_page'] > $list['current_page']"/}
							<li class="next"><a href="/frontend/news/index?page={$list.current_page+1}">下一页 &rarr;</a></li>
							{/if}
						</ul>
					</ul>
					<!-- bootstrap分页 结束 -->
    			</div>
    			<div class="col-md-3">
    				<div class="widget widget_search">
    					<h5>搜索</h5>
    					<form action="/frontend/news/index" method="post">
    						<input type="text" name="title" class="text-search" placeholder="输入关键词搜索..." value>
    						<input type="submit" class="submit-search" value>
    					</form>
    				</div>
    			</div>
    		</div>
    	</div>
	</section>
	<!-- 新闻列表 结束 -->

{include file="common/footer" /}